package com.karson.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.karson.common.model.SystemRoleMenu;
import com.karson.service.service.SystemRoleMenuService;
import com.karson.service.dao.SystemRoleMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_system_role_menu(角色菜单关联表)】的数据库操作Service实现
* @createDate 2025-08-19 16:15:51
*/
@Service
public class SystemRoleMenuServiceImpl extends ServiceImpl<SystemRoleMenuMapper, SystemRoleMenu>
    implements SystemRoleMenuService{
    @Autowired
    private SystemRoleMenuMapper systemRoleMenuMapper;
    @Override
    public void saveMenuIds(Integer roleId, List<Integer> menuIds) {
        systemRoleMenuMapper.saveMenuIds(roleId,menuIds);
    }
}




